﻿using DroidClaim.BL.Utility;
using DroidClaim.Service.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DroidClaimBL.Dto
{
    public class SurveyorBlDto
    {
        public virtual string SurveyerId { get; set; }
        public virtual string Username { get; set; }
        public virtual string Name { get; set; }
        public virtual string Surname { get; set; }
        public virtual string Mobile { get; set; }
        public virtual string Email { get; set; }
        public virtual string Picture { get; set; }
        public virtual SurveyorLocationBlDto SurveyorLocation { get; set; }
        public virtual IEnumerable<ClaimInfoBlDto> ClaimInfo { get; set; }

        public SurveyorBlDto() { }
        public SurveyorBlDto(SurveyorDto svDataDto)
        {
            SurveyerId = svDataDto.SurveyerId;
            Username = svDataDto.Username;
            Name = svDataDto.Name;
            Surname = svDataDto.Surname;
            Mobile = svDataDto.Mobile;
            Email = svDataDto.Email;
            Picture = ServerFileHandle.GetImageString(svDataDto.PicturePath);
            // SurveyorLocation = 
            // ClaimInfo
        }
    }
}